package com.example.housingRentalSystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface HouseImagesMapper {

    List<String> selectImagesByHouseId(@Param("houseId") Integer houseId);


    int batchInsertImages(@Param("houseId") Integer houseId, @Param("urls") List<String> urls);

    int deleteByHouseId(@Param("houseId") Integer houseId);
}